package com.gxa.finance.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gxa.common.commons.R;
import com.gxa.finance.pojo.ServiceManagement;

public interface ServiceManagementService extends IService<ServiceManagement> {
    //分页查询服务管理页面
    R ServicePage(Integer currentPage, Integer pageSize);

    //按服务类型条件查询
    R ifService(Page page, QueryWrapper<ServiceManagement> queryWrapper);

    //服务类型状态（启用）
    R state(ServiceManagement serviceManagement);

    //服务类型状态（禁用）
    R noState(ServiceManagement serviceManagement);

    //推荐服务分页查询
    R manager(Integer currentPage, Integer pageSize);

    //推荐服务 （已推荐 状态接口）
    R recommend(ServiceManagement serviceManagement);

    //推荐服务 （未推荐 状态接口）
    R noRecommend(ServiceManagement serviceManagement);

    R open(String id, String status);

    R tui(String id, String statue);
}
